package org.edu.modules.logistics.ct.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.edu.common.base.BaseEntity;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * entity-维修记录表
 */
@TableName("ve_houqin_weixiu")
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="维修记录表对象", description="ve_houqin_weixiu")
public class VeHqWeixiu extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField
    @ApiModelProperty(value = "物品名称")
    @Length(max = 50)
    private String name;

    @TableField
    @ApiModelProperty(value = "维修结果：1=完成、2=在修，0=未修")
    private Integer status;

    @TableField
    @ApiModelProperty(value = "维修方式")
    @Length(max = 15)
    private String type;

    @TableField
    @ApiModelProperty(value = "备注")
    @Length(max = 500)
    private String remark;

    @TableField
    @ApiModelProperty(value = "微信地点")
    @Length(max = 100)
    private String place;

    @TableField
    @ApiModelProperty(value = "申请人")
    @Length(max = 32)
    private String applyUser;

    @TableField
    @ApiModelProperty(value = "申请人")
    @Length(max = 50)
    private String applyUserName;

    @TableField
    @ApiModelProperty(value = "经手人")
    @Length(max = 32)
    private String jsUser;

    @TableField
    @ApiModelProperty(value = "经手人")
    @Length(max = 50)
    private String jbUserName;

    @TableField
    @ApiModelProperty(value = "批准人")
    @Length(max = 32)
    private String pjUser;

    @TableField
    @ApiModelProperty(value = "批准人")
    @Length(max = 50)
    private String pjUserName;
}
